package com.credithc.customers.base.mapper;

import com.credithc.baseserv.core.mapper.BsBaseMapper;
import com.credithc.customers.base.po.CustomerIdInfoPo;
import com.credithc.customers.base.ro.CustomerQuerySubRo;
import com.credithc.customers.base.vo.CustomerQuerySubVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Title:
 * @Author: Denghx
 * @Date: 2018/11/29 11:44
 * @Description: com.credithc.customers.base.mapper
 * @Version: V1.0.0
 */
@Mapper
@Repository
public interface CustomerIdInfoMapper extends BsBaseMapper<CustomerIdInfoPo> {
    //TODO pthb改造
//    List<CustomerIdInfoPo> getExistCustomer(@Param("customerNo") String customerNo, @Param("systemSign") String systemSign, @Param("subSystemSign") String subSystemSign);

    List<CustomerQuerySubVo> querySubSystemSigns(@Param("ro") CustomerQuerySubRo ro);

    List<CustomerIdInfoPo> getCustomerInfo(@Param("customerNo") String customerNo, @Param("systemSign") String systemSign, @Param("subSystemSign") String subSystemSign);


}
